package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP管理对象 app_version_update
 * 
 * @author ruoyi
 * @date 2023-12-08
 */
public class AppVersionUpdate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer hasUpdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isForce;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isIgnorable;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String versionCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String versionName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateContent;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String downloadUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long apkSize;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String insertBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date insertAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updateAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String apkMd5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHasUpdate(Integer hasUpdate) 
    {
        this.hasUpdate = hasUpdate;
    }

    public Integer getHasUpdate() 
    {
        return hasUpdate;
    }
    public void setIsForce(Integer isForce) 
    {
        this.isForce = isForce;
    }

    public Integer getIsForce() 
    {
        return isForce;
    }
    public void setIsIgnorable(Integer isIgnorable) 
    {
        this.isIgnorable = isIgnorable;
    }

    public Integer getIsIgnorable() 
    {
        return isIgnorable;
    }
    public void setVersionCode(String versionCode) 
    {
        this.versionCode = versionCode;
    }

    public String getVersionCode() 
    {
        return versionCode;
    }
    public void setVersionName(String versionName) 
    {
        this.versionName = versionName;
    }

    public String getVersionName() 
    {
        return versionName;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setUpdateContent(String updateContent)
    {
        this.updateContent = updateContent;
    }

    public String getUpdateContent() 
    {
        return updateContent;
    }
    public void setDownloadUrl(String downloadUrl) 
    {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl() 
    {
        return downloadUrl;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setApkSize(Long apkSize) 
    {
        this.apkSize = apkSize;
    }

    public Long getApkSize() 
    {
        return apkSize;
    }
    public void setInsertBy(String insertBy) 
    {
        this.insertBy = insertBy;
    }

    public String getInsertBy() 
    {
        return insertBy;
    }
    public void setInsertAt(Date insertAt) 
    {
        this.insertAt = insertAt;
    }

    public Date getInsertAt() 
    {
        return insertAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setApkMd5(String apkMd5) 
    {
        this.apkMd5 = apkMd5;
    }

    public String getApkMd5() 
    {
        return apkMd5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hasUpdate", getHasUpdate())
            .append("isForce", getIsForce())
            .append("isIgnorable", getIsIgnorable())
            .append("versionCode", getVersionCode())
            .append("versionName", getVersionName())
            .append("type", getType())
            .append("updateContent", getUpdateContent())
            .append("downloadUrl", getDownloadUrl())
            .append("description", getDescription())
            .append("apkSize", getApkSize())
            .append("insertBy", getInsertBy())
            .append("insertAt", getInsertAt())
            .append("updateBy", getUpdateBy())
            .append("updateAt", getUpdateAt())
            .append("apkMd5", getApkMd5())
            .toString();
    }
}
